package com.example.happywork;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.widget.ImageButton;

public class ChampionActivity extends Activity {
	
	
	
	@Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.champion);
    	ImageButton btn1 = (ImageButton)findViewById(R.id.btnmission);
    	btn1.setImageResource(R.drawable.mission);
    	ImageButton btn2 = (ImageButton)findViewById(R.id.btnplay);
    	btn2.setImageResource(R.drawable.play);
    	ImageButton btn3 = (ImageButton)findViewById(R.id.btnchampion);
    	btn3.setImageResource(R.drawable.champion1);
    	ImageButton btn4 = (ImageButton)findViewById(R.id.btnnumber);
    	btn4.setImageResource(R.drawable.number);
	}
	
	
	public void clickplay(View source)
    {
    	Intent intent = new Intent(this, PlayActivity.class);
    	startActivity(intent);
    }
        
    public void clickmission(View source)
    {
    	Intent intent = new Intent(this, MainActivity.class);
    	startActivity(intent);
    }
	public void clickchampion(View source) {

	}

	public void clicknumber(View source) {
    	Intent intent = new Intent(this, NumberActivity.class);
    	startActivity(intent);
	}
};